package domain;

/**
 * @author 杨森
 * @date 2022年11月28日 19:42
 */
public class Class_Info {
//    class_name varchar(10) primary key ,#班级名
//    student_num int NOT NULL,#学生人数
//    monitor varchar(10) not null default ''#班主任
        private String class_name;
        private Integer student_num;
        private String monitor;

    public Class_Info() {
    }

    public Class_Info(String class_name, Integer student_num, String monitor) {
        this.class_name = class_name;
        this.student_num = student_num;
        this.monitor = monitor;
    }

    public String getClass_name() {
        return class_name;
    }

    public void setClass_name(String class_name) {
        this.class_name = class_name;
    }

    public Integer getStudent_num() {
        return student_num;
    }

    public void setStudent_num(Integer student_num) {
        this.student_num = student_num;
    }

    public String getMonitor() {
        return monitor;
    }

    public void setMonitor(String monitor) {
        this.monitor = monitor;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("CLASS_INFO{");
        sb.append("class_name='").append(class_name).append('\'');
        sb.append(", student_num=").append(student_num);
        sb.append(", monitor='").append(monitor).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
